<template>
	<view>
		<u-navbar :title="navTitle" :safeAreaInsetTop="true" leftIconColor="#000" :autoBack="true" bgColor="#FFFFFF" :placeholder="true" :titleStyle="{color:'#000',fontSize:'16px',fontWeight:'bold'}">
			
			<view class="navbar-right flex-no-horizontal" slot="right" @click="childNavRight">
				{{navRightTitle}}
			</view>
					
		</u-navbar>
	</view>
</template>

<script>
	export default {
		props: {
			navTitle: {				//标题
				type: String,
				default () {
					return '';
				}
			},
			navRightTitle:{
				type:String,
				default () {
					return '';
				}
			}
		},
		data() {
			return {
				
			};
		},
		computed: {
	
		},
		onLoad() {
	
		},
		methods: {
			
			//导航栏右侧点击
			childNavRight(){
				this.$emit('navRight')
			},
			
		},
	};
</script>

<style lang="scss" scoped>
	
	.navbar-right{
		color: rgba(111, 111, 111, 1);
		font-size: 22rpx;
		padding: 14rpx 30rpx;
		border-radius: 40rpx;
		border: 1rpx solid #7F7F7F;
	}
	
</style>
